<foreach item="brand" name="brands">
<div class="badlist"><input type="checkbox" value="{$brand.id}" <if condition="$brand['isPer']"> checked="checked"</if> name="brands[]">&nbsp;{$brand.name}</div>
</foreach>
<div class="clear"></div>